package com.hxy.subject.domain.convert;

import com.hxy.subject.domain.entity.SubjectCategoryBO;
import com.hxy.subject.domain.entity.SubjectLabelBO;
import com.hxy.subject.infra.basic.entity.SubjectCategory;
import com.hxy.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/2 18:46
 */
@Mapper
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel subjectLabelBoToCategory(SubjectLabelBO bo);
    List<SubjectLabelBO> subjectLabelToBoList(List<SubjectLabel> list);
}
